<?php
$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'财务管理'=>array($this->pre_module_url.'/memAccount/admin'),
	'保障金管理'=>array($this->pre_module_url.'/deposit/admin'),
	'保障金充值',
);

$email_notice = array(
		'1'=>'发送邮件',
		'2'=>'不发送'
		);


?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'cmp-deposit-form',
//	'enableAjaxValidation'=>true,
	'enableClientValidation'=>true,
)); ?>
	<ul class="form_list form_list2 mt10">
		<li class="title"><span class="fs_14 fw_b">保障金充值</span></li>
		<li class="c_f"><span class="tit">商家名称：</span>
			<div class="cont f_l">
				<?php echo $company->zc_name?>
			</div>
		</li>
		<li class="c_f"><span class="tit">会员名称：</span>
			<div class="cont f_l">
				<?php echo $company->member->zm_name?>
			</div>
		</li>
		<li class="c_f"><span class="tit">会员邮箱：</span>
			<div class="cont f_l">
				<?php echo $company->member->zm_email?>
			</div>
		</li>
		<li class="c_f"><span class="tit"><em class="xing">*</em>充值金额：</span>
			<div class="cont f_l">
				<?php echo $form->textField($model,"zcd_amount",array('class'=>"t_ipt w_250",'maxlength'=>32)); ?>
				<?php echo $form->error($model,"zcd_amount"); ?>
			</div>
		</li>
		<li class="c_f"><span class="tit">备注：</span>
			<div class="cont f_l">
				<?php echo $form->textArea($model,"zcd_note",array('rows'=>5,'cols'=>80)); ?>
			</div>
		</li>
		<li class="c_f"><span class="tit">发送邮件提醒：</span>
			<div class="cont f_l">
				<?php echo CHtml::radioButtonList("email_notice",1,$email_notice,array('class'=>'radio','labelOptions'=>array('class'=>'mr10')))?>
			</div>
		</li>
		<li class="c_f"><span class="tit">&nbsp;</span>
			<div class="cont f_l">
				<?php echo CHtml::submitButton(Yii::t('adm',"Submit"),array('class'=>'mem_btn mem_btn20 mr5'))?>
				<?php echo CHtml::resetButton(Yii::t('adm',"Reset"),array('class'=>'mem_btn mem_btn07'))?>
			</div>
		</li>
	</ul>	
<?php $this->endWidget(); ?>

</div><!-- form -->